<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>職位搜索結果- {#$QISHI.site_name#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<link href="{#$QISHI.site_template#}css/common.css" rel="stylesheet" type="text/css" />
<link href="{#$QISHI.site_template#}css/jobs.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.compare {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #C4C4C4;
	display: none;
	width: 200px;
}
.compare ul {
	list-style: none outside none;
	padding:0px;
	margin: 0;
}
.compare h5 {
	float: left;
	font-size: 12px;
	color:#333;
	margin: 0;
	padding: 0;
}
.compare .extra {
	background: url("{#$QISHI.site_template#}images/close2.gif") no-repeat scroll 2px -1px transparent;
	cursor: pointer;
	float: right;
	height: 13px;
	margin-top: 2px;
	width: 13px;
}
.comPro {
	padding:0px;
	margin:0px;
}
.compare .mb {
	padding: 5px 0;
	text-align: center;
}
.m, .mt, .mc, .mb {
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.compare .mt {
	background: none repeat scroll 0 0 #F3F3F3;
	height: 18px;
	line-height: 18px;
	overflow: hidden;
	padding: 3px 5px;
	overflow: hidden;
}
.compare .mc {
	padding: 2px;
}
.compare .mc li {
	border: 1px solid #E5E5E5;
	margin-bottom: 2px;
	padding: 4px 12px 4px 4px; position:relative;
}
.close{ position:absolute; right:2px; cursor:pointer}
</style>
<script type="text/javascript">
function reduceCompare(jobid){
	$('#check_'+jobid+'').remove()
	var url="{#$geturl#}";
	var Data="act=reduceCompare&jobid="+jobid;	
	$.get(url, Data, function(theResponse){})
}
function openCompare()
{
	var url="{#$geturl#}";
	var Data="act=getCompare";	
	$.get(url, Data, function(theResponse){	})
	
}
function clearCompare()
{
	var url="{#$geturl#}";
	var Data="act=clearCompare";	
	$.get(url, Data, function(theResponse){ 
		$("#comProlist").html('');		
		}
		)

}
function setCompare(jobid,jobtitle)
{
	var Data="act=setCompare&jobid="+jobid+"&jobtitle="+jobtitle;	
	var url="{#$geturl#}";
	
	Data= encodeURI(Data);
	$.get(url, Data, function(theResponse){	
		if(theResponse=='') 
		{
		$("#comProlist").append('<li id="check_'+jobid+'">'+jobtitle+'<a onclick="reduceCompare('+jobid+')" class="close" title="移除">[移除]</a></li>')	;			
		}
		else alert(theResponse)
	 }
	)
}

</script>
</head>
<body>
{#include file="header.htm"#}
<div class="page_location link_bk"> {#qishi_get_url listname="jobs_search_url"  act="jobs-search" #}
  當前位置：<a href="{#$QISHI.site_dir#}">首頁</a>&nbsp;>>&nbsp;<a href="{#$jobs_search_url#}">職位搜索</a>&nbsp;>>&nbsp;搜索結果&nbsp;&nbsp;&nbsp;&nbsp;<a href="{#$jobs_search_url#}"  style="color:#FF3300">[重新設置搜索條件]</a></div>
<!-- -->
<div class="jobs_list_box_outer">
  <div class="jobs_list_box">    
      <div class="jobs_list_box_jobname jobs_list_title_box">職位名稱</div>
      <div class="jobs_list_box_jobs_cpname jobs_list_title_box">公司名稱</div>
      <div class="jobs_list_box_jobs_amount jobs_list_title_box">招聘人數</div>
      <div class="jobs_list_box_jobs_deadline jobs_list_title_box">更新時間</div>
      <div class="clear"></div>
      <!-- 循環崗位-->
      {#qishi_jobs_list listname="jobs" paged="1" row="18" jobslen="8" companynamelen="15" dot="..." category=$smarty.get.category subclass=$smarty.get.subclass  district=$smarty.get.district  settr=$smarty.get.settr education=$smarty.get.education  experience=$smarty.get.experience wage=$smarty.get.wage wageto=$smarty.get.wageto  nature=$smarty.get.nature  trade=$smarty.get.trade  key=$smarty.get.key key_type=$smarty.get.key_type#}
      {#section name=list loop=$jobs#}
      <div class="jobs_list_box_jobname link_lan">
      <a href="javascript:;" onclick="setCompare({#$jobs[list].jobid#},'{#$jobs[list].jobs_name#}')">[对比]</a>&nbsp;&nbsp;<a href="{#$jobs[list].jobs_url#}" target="_blank">{#$jobs[list].jobs_name#}</a> {#if $jobs[list].emergency=="2"#} <img src="{#$QISHI.site_template#}images/emergency.gif" width="27" height="14" align="absmiddle" />{#/if#} </div>
      <div class="jobs_list_box_jobs_cpname link_bk"> <a href="{#$jobs[list].company_url#}" target="_blank">{#$jobs[list].companyname#}</a> {#if $jobs[list].company_recommend=="1"#} <img src="{#$QISHI.site_template#}images/recommend.gif" width="27" height="14" align="absmiddle" /> {#/if#} </div>
      <div class="jobs_list_box_jobs_amount">{#$jobs[list].amount#} 人</div>
      <div class="jobs_list_box_jobs_deadline">{#$jobs[list].refreshtime#}</div>
      <div class="clear"></div>
      {#sectionelse#}
      <div  style="text-align:center; line-height:60px; height:60px;">沒有匹配的職位信息！</div>
      {#/section#}
      <!-- 循環崗位-->
      <!--分頁 -->
      <table border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="50" class="link_bk">{#$page#}</td>
        </tr>
      </table>
      <!--分頁 -->
    <div class="compare" id="compare" style="position: fixed; top: 220px; right: 0px; display: block;">
      <div class="mt">
        <h5>職位比較</h5>
        <div onclick="clearCompare()" class="extra"></div>
      </div>
      <div class="comPro">
        <ul id="comProlist" class="mc">
        {#foreach from=$jobarr item=job#}
        <li id="check_{#$job.jobid#}">{#$job.jobtitle#}<a onclick="reduceCompare({#$job.jobid#})" class="close" title="移除">[移除]</a></li>
        {#/foreach#}          		       
        </ul>
        <div class="mb">       
        <input type="button" onclick="window.location.href='{#$geturl#}?act=doCompare'" id="compareImg" class="btn" value="對比所選職位">
        </div>
      </div>
    </div>
  </div>
  {#qishi_get_url listname=user_url  act=user#}
  <div class="list_box_bottom"><img src="{#$QISHI.site_template#}images/check_info.png" align="absmiddle" /> &nbsp;&nbsp;溫馨提示：如果您沒找到合適的崗位，請免費注冊發布個人簡歷，好工作主動找上門。&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="{#$user_url#}" target="_blank"><img src="{#$QISHI.site_template#}images/go.gif" border="0" align="absmiddle" /></a></div>
</div>
{#include file="footer.htm"#}
</body>
</html>
